package com.itany.service;

import com.github.pagehelper.PageInfo;
import com.itany.exception.ManagerServiceException;
import com.itany.pojo.Supplier;

public interface SupplierService {


    /**
     * 添加供应商名条件查找
     *
     * @param page
     * @param rows
     * @param name
     * @return
     */
    PageInfo<Supplier> findAllExample(Integer page, Integer rows, String name);

    void add(Supplier supplier);

    void update(Supplier supplier) throws ManagerServiceException;
}
